{#
    Main CSS can be found in metadata.twig
#}

{# Core Theme Components #}
{{ asset_add("theme.js", "theme::lib/jquery/jquery.min.js") }}
{{ asset_add("theme.js", "theme::lib/jquery/jquery-migrate.min.js") }}
{{ asset_add("theme.js", "theme::lib/bootstrap/js/bootstrap.bundle.min.js") }}
{{ asset_add("theme.js", "theme::lib/easing/easing.min.js") }}
{{ asset_add("theme.js", "theme::lib/wow/wow.min.js") }}
{{ asset_add("theme.js", "theme::lib/superfish/hoverIntent.js") }}
{{ asset_add("theme.js", "theme::lib/superfish/superfish.min.js") }}
{{ asset_add("theme.js", "theme::lib/magnific-popup/magnific-popup.min.js") }}

{{ asset_add("main.js","theme::contactform/contactform.js") }}
{{ asset_add("main.js","theme::js/theme/main.js") }}
{# Theme Scripts #}
{#{{ asset_add("theme.js", "theme::js/plugins/*") }}#}
{#{{ asset_add("theme.js", "theme::js/theme/initialize.js") }}#}

{{ asset_script("theme.js", ["min"]) }}
{{ asset_script("main.js", ["min"]) }}

{# Include Scripts Loaded From Outside #}
<script type="text/javascript">
    {% for script in asset_inlines("scripts.js", ["min"]) %}
    {{ script|raw }}
    {% endfor %}
</script>

{{ template.includes.render('scripts')|raw }}

{# Include Styles Loaded From Outside #}
<style type="text/css">
    {% for style in asset_inlines("styles.css", ["min"]) %}
    {{ style|raw }}
    {% endfor %}
</style>
